package com.example.hospitalsystem.service;

import com.example.hospitalsystem.pojo.dto.user.*;
import com.example.hospitalsystem.pojo.entity.User;
import com.example.hospitalsystem.result.Result;

import java.util.List;

public interface UserService {

    Result<Object> getUserInfo();

    Result<Object> getAllNomerlUserInfo(UserPageQueryDto userPageQueryDto);

    Result<Object> getAllAdmin(AdminPageQueryDto adminPageQueryDto);

    Result<Object> deleteUserInfo(Integer id);

    Result<Object> deleteAdminInfo(Integer id);

    Result<Object> editUserInfo(EditDto editDto);

    Result<Object> editAdminInfo(EditDto editDto);

    Result<Object> getRoleByUserName(LookRoleByUnDto lookRoleByUnDto);

    Result<Object> getRoleByEmail(LookRoleByEmail lookRoleByEmail);

    Result<Object> pushNotice(NoticeDto noticeDto);

    List<User> searchUser(String key);

    Result<Object> getImage();

    Result<Object> changeUserInfo(User user);

}
